package com.ys.entity.hr;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_SocialSecurity", catalog="Id")
public class TbSocialSecurity extends BaseEntity<TbSocialSecurity> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="SoseBase", nameJava="soseBase", typeDataBase="decimal")
	private BigDecimal soseBase;
	@YsField(nameDataBase="PiRatioUnit", nameJava="piRatioUnit", typeDataBase="decimal")
	private BigDecimal piRatioUnit;
	@YsField(nameDataBase="PiUnitMonth", nameJava="piUnitMonth", typeDataBase="decimal")
	private BigDecimal piUnitMonth;
	@YsField(nameDataBase="PiRatioIndividual", nameJava="piRatioIndividual", typeDataBase="decimal")
	private BigDecimal piRatioIndividual;
	@YsField(nameDataBase="PiIndividualMonth", nameJava="piIndividualMonth", typeDataBase="decimal")
	private BigDecimal piIndividualMonth;
	@YsField(nameDataBase="UiRatioUnit", nameJava="uiRatioUnit", typeDataBase="decimal")
	private BigDecimal uiRatioUnit;
	@YsField(nameDataBase="UiUnitMonth", nameJava="uiUnitMonth", typeDataBase="decimal")
	private BigDecimal uiUnitMonth;
	@YsField(nameDataBase="UiRatioIndividual", nameJava="uiRatioIndividual", typeDataBase="decimal")
	private BigDecimal uiRatioIndividual;
	@YsField(nameDataBase="UiIndividualMonth", nameJava="uiIndividualMonth", typeDataBase="decimal")
	private BigDecimal uiIndividualMonth;
	@YsField(nameDataBase="WiiRatioUnit", nameJava="wiiRatioUnit", typeDataBase="decimal")
	private BigDecimal wiiRatioUnit;
	@YsField(nameDataBase="WiiUnitMonth", nameJava="wiiUnitMonth", typeDataBase="decimal")
	private BigDecimal wiiUnitMonth;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbSocialSecurity setId(Long id) {
		this.id = id;
		return this;
	}
	public BigDecimal getSoseBase() {
		return soseBase;
	}
	public TbSocialSecurity setSoseBase(BigDecimal soseBase) {
		this.soseBase = soseBase;
		return this;
	}
	public BigDecimal getPiRatioUnit() {
		return piRatioUnit;
	}
	public TbSocialSecurity setPiRatioUnit(BigDecimal piRatioUnit) {
		this.piRatioUnit = piRatioUnit;
		return this;
	}
	public BigDecimal getPiUnitMonth() {
		return piUnitMonth;
	}
	public TbSocialSecurity setPiUnitMonth(BigDecimal piUnitMonth) {
		this.piUnitMonth = piUnitMonth;
		return this;
	}
	public BigDecimal getPiRatioIndividual() {
		return piRatioIndividual;
	}
	public TbSocialSecurity setPiRatioIndividual(BigDecimal piRatioIndividual) {
		this.piRatioIndividual = piRatioIndividual;
		return this;
	}
	public BigDecimal getPiIndividualMonth() {
		return piIndividualMonth;
	}
	public TbSocialSecurity setPiIndividualMonth(BigDecimal piIndividualMonth) {
		this.piIndividualMonth = piIndividualMonth;
		return this;
	}
	public BigDecimal getUiRatioUnit() {
		return uiRatioUnit;
	}
	public TbSocialSecurity setUiRatioUnit(BigDecimal uiRatioUnit) {
		this.uiRatioUnit = uiRatioUnit;
		return this;
	}
	public BigDecimal getUiUnitMonth() {
		return uiUnitMonth;
	}
	public TbSocialSecurity setUiUnitMonth(BigDecimal uiUnitMonth) {
		this.uiUnitMonth = uiUnitMonth;
		return this;
	}
	public BigDecimal getUiRatioIndividual() {
		return uiRatioIndividual;
	}
	public TbSocialSecurity setUiRatioIndividual(BigDecimal uiRatioIndividual) {
		this.uiRatioIndividual = uiRatioIndividual;
		return this;
	}
	public BigDecimal getUiIndividualMonth() {
		return uiIndividualMonth;
	}
	public TbSocialSecurity setUiIndividualMonth(BigDecimal uiIndividualMonth) {
		this.uiIndividualMonth = uiIndividualMonth;
		return this;
	}
	public BigDecimal getWiiRatioUnit() {
		return wiiRatioUnit;
	}
	public TbSocialSecurity setWiiRatioUnit(BigDecimal wiiRatioUnit) {
		this.wiiRatioUnit = wiiRatioUnit;
		return this;
	}
	public BigDecimal getWiiUnitMonth() {
		return wiiUnitMonth;
	}
	public TbSocialSecurity setWiiUnitMonth(BigDecimal wiiUnitMonth) {
		this.wiiUnitMonth = wiiUnitMonth;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbSocialSecurity setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbSocialSecurity setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbSocialSecurity setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbSocialSecurity tbSocialSecurity(
		BigDecimal soseBase,
		BigDecimal piRatioUnit,
		BigDecimal piUnitMonth,
		BigDecimal piRatioIndividual,
		BigDecimal piIndividualMonth,
		BigDecimal uiRatioUnit,
		BigDecimal uiUnitMonth,
		BigDecimal uiRatioIndividual,
		BigDecimal uiIndividualMonth,
		BigDecimal wiiRatioUnit,
		BigDecimal wiiUnitMonth,
		Integer status
			) {
		TbSocialSecurity entity = new TbSocialSecurity();
		entity.setSoseBase(soseBase);
		entity.setPiRatioUnit(piRatioUnit);
		entity.setPiUnitMonth(piUnitMonth);
		entity.setPiRatioIndividual(piRatioIndividual);
		entity.setPiIndividualMonth(piIndividualMonth);
		entity.setUiRatioUnit(uiRatioUnit);
		entity.setUiUnitMonth(uiUnitMonth);
		entity.setUiRatioIndividual(uiRatioIndividual);
		entity.setUiIndividualMonth(uiIndividualMonth);
		entity.setWiiRatioUnit(wiiRatioUnit);
		entity.setWiiUnitMonth(wiiUnitMonth);
		entity.setStatus(status);
		return entity;
	}
}